class UsersController < ApplicationController

  before_filter :authenticate_user!, :except => [:show]

  def index
    @users = User.all - [current_user]
    respond_to { |f| f.html }
  end

  def home
    @user = current_user
    respond_to { |f| f.html }
  end

  def show
    @user = User.find(params[:id])
    respond_to  { |f| f.html }
  end
end
